<#include "/public/macro.html">
<form class="layui-form" action="/apps/report/design/selmodelsave.html" id="selcubelevel" data-toggle="ajaxsubmit">
	<input type="hidden" name="id" value="${id!''}">
	<input type="hidden" name="mid" value="${mid!''}">
	<div class="layui-form-item">
		    <label class="layui-form-label">关联数据</label>
		    <div class="layui-input-inline">
			    <select  id="linkdata" name="linkdata">
				 	<#if reportModels??>
				 	<#list reportModels as model>
				 	<#if mid?? && model.id != mid>
				 	<option value="${model.id!''}" >${model.name!''}</option>
				 	</#if>
				 	</#list>
				 	</#if> 
				</select>
		    </div>
  </div>
  <div class="layui-form-button" >
		<div class="layui-button-block">
			 <button class="layui-btn layui-btn-normal"   lay-submit>提交</button>
		</div>
	</div>
</form>
 
<script>
layui.use('form', function(){
  var form = layui.form;
  form.render();
});
</script>